package com.erp.order.purchasing.service.impl;

import com.erp.hr.base.service.impl.BaseServiceImpl;
import com.erp.hr.base.vo.LegalityResultVO;
import com.erp.order.purchasing.dao.QuotedPriceDao;
import com.erp.order.purchasing.model.QuotedPrice;
import com.erp.order.purchasing.service.QuotedPriceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 报价单 业务实现层
 *
 */
@Service
public class QuotedPriceServiceImpl extends BaseServiceImpl<QuotedPriceDao, QuotedPrice> implements QuotedPriceService {
    @Autowired
    private QuotedPriceDao quotedPriceDao;
    @Override
    public QuotedPrice addCompleteData(QuotedPrice quotedPrice) {
        return this.quotedPriceDao.addCompleteData(quotedPrice);
    }

    @Override
    public List<QuotedPrice> addCompleteData(List<QuotedPrice> list) {
        return null;
    }

    @Override
    public LegalityResultVO isLegalityData(QuotedPrice quotedPrice) {
        return null;
    }

    @Override
    public boolean save(QuotedPrice quotedPrice) {
        return false;
    }

    @Override
    public boolean update(QuotedPrice quotedPrice) {
        return false;
    }

    @Override
    public boolean linkDelete(Long id) {
        return false;
    }

    @Override
    public List<QuotedPrice> getData(String id, String username) {
        return this.quotedPriceDao.getData(id,username);
    }
}
